package com.crazy.crazybusinessservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crazy.crazybusinessservice.entity.BankcardRecord;
import com.crazy.crazybusinessservice.entity.ShareRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface ShareRecordMapper extends BaseMapper<ShareRecord> {

    List<ShareRecord> findShareRecord(
            @Param("bankcard")String bankcard,
            @Param("productID") Integer productID,
            @Param("begin") Date begin,
            @Param("end")Date end
    );

}
